xen.git
18 years ago[HVM] Save/restore: catch more error cases in the tools
Tim Deegan [Thu, 12 Apr 2007 14:54:59 +0000 (15:54 +0100)]
[HVM] Save/restore: catch more error cases in the tools
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[HVM] Fix typo that broke x86_64 build
Tim Deegan [Thu, 12 Apr 2007 14:07:20 +0000 (15:07 +0100)]
[HVM] Fix typo that broke x86_64 build
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[HVM] Save/restore: save HVM GPRs and DRs with the rest of the CPU state
Tim Deegan [Thu, 12 Apr 2007 14:02:03 +0000 (15:02 +0100)]
[HVM] Save/restore: save HVM GPRs and DRs with the rest of the CPU state
and remove the use of xc_vcpu_getcontext() from HVM save/restore.
Also fixes loss of CR2, DR6 and DR7 contents across HVM save/restore.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years agoHVM: First attempt at domain-resume on save-failure.
kfraser@localhost.localdomain [Thu, 12 Apr 2007 13:13:04 +0000 (14:13 +0100)]
HVM: First attempt at domain-resume on save-failure.

Not working yet as we are a bit too keen to kill the qemu-dm process,
before we know that the save has been successful.

Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoHVM: Allow qemu monitor to be configured in domain config file.
kfraser@localhost.localdomain [Thu, 12 Apr 2007 12:21:26 +0000 (13:21 +0100)]
HVM: Allow qemu monitor to be configured in domain config file.
From: Yongkang You <yongkang.you@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoxend: Update config-format version, due to changes in 3.0.5.
kfraser@localhost.localdomain [Thu, 12 Apr 2007 12:18:08 +0000 (13:18 +0100)]
xend: Update config-format version, due to changes in 3.0.5.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
18 years agoHVM: Do not watch control/shutdown to force domain shutdowns when PV
kfraser@localhost.localdomain [Thu, 12 Apr 2007 11:12:56 +0000 (12:12 +0100)]
HVM: Do not watch control/shutdown to force domain shutdowns when PV
drivers are not present. The feature-foo mechanism does not actually
work after save/restore since the fields do not get rewritten. And it
doesn't work when we actually need the guest to be shutdown through
Xen (e.g., on suspend). Since we can quite reasonably assume that the
only entity to screw with control/shutdown is xend, and since the one
place that does that now explicitly handles unenlightened HVM guests,
we can simply strip all this stuff out.

This has the nice benefit of making HVM save/restore with PV drivers
much more reliable.

Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoPV-on-HVM: More carefully synchronise with APs when putting them to
kfraser@localhost.localdomain [Thu, 12 Apr 2007 11:09:58 +0000 (12:09 +0100)]
PV-on-HVM: More carefully synchronise with APs when putting them to
sleep in a spin loop.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoMake xm info more permissive
Tom Wilkie [Thu, 12 Apr 2007 10:44:26 +0000 (11:44 +0100)]
Make xm info more permissive

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

18 years agoMake Xm Test default to bridge when cannot read config file
Tom Wilkie [Thu, 12 Apr 2007 10:32:25 +0000 (11:32 +0100)]
Make Xm Test default to bridge when cannot read config file

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

18 years agoFix typo and make create send proper bools
Tom Wilkie [Thu, 12 Apr 2007 10:31:17 +0000 (11:31 +0100)]
Fix typo and make create send proper bools

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

18 years agoPV-on-HVM: Fix 64-bit build.
kfraser@localhost.localdomain [Thu, 12 Apr 2007 07:02:38 +0000 (08:02 +0100)]
PV-on-HVM: Fix 64-bit build.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[ioemu] Consistently extend all block device operations to include scsi disks.
Christian Limpach [Wed, 11 Apr 2007 22:05:07 +0000 (23:05 +0100)]
[ioemu] Consistently extend all block device operations to include scsi disks.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years ago[setup] Fix old style bridge setup.
Christian Limpach [Wed, 11 Apr 2007 18:04:10 +0000 (19:04 +0100)]
[setup] Fix old style bridge setup.
Also only warn that we ran out of veth interfaces if we have any at all.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years agoAdd documentation and C bindings for VM.add_to_VCPUs_params_live,
Ewan Mellor [Wed, 11 Apr 2007 21:24:30 +0000 (22:24 +0100)]
Add documentation and C bindings for VM.add_to_VCPUs_params_live,
VM.set_memory_dynamic_{min,max}_live.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdded documentation and bindings for host_cpu.features.
Ewan Mellor [Wed, 11 Apr 2007 20:55:05 +0000 (21:55 +0100)]
Added documentation and bindings for host_cpu.features.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAdded docs and bindings for VM_metrics.state.
Ewan Mellor [Tue, 10 Apr 2007 18:04:37 +0000 (19:04 +0100)]
Added docs and bindings for VM_metrics.state.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years ago[linux] Make CONFIG_XEN_COMPAT #if statements syntactically correct.
Christian Limpach [Wed, 11 Apr 2007 17:39:05 +0000 (18:39 +0100)]
[linux] Make CONFIG_XEN_COMPAT #if statements syntactically correct.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
18 years agoLINUX: Cleanup a few stray uses of CONFIG_XEN_COMPAT_030002.
Ian Campbell [Wed, 11 Apr 2007 15:08:35 +0000 (16:08 +0100)]
LINUX: Cleanup a few stray uses of CONFIG_XEN_COMPAT_030002.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
18 years agoMerge with xen-ia64-unstable.hg
kfraser@localhost.localdomain [Wed, 11 Apr 2007 14:45:29 +0000 (15:45 +0100)]
Merge with xen-ia64-unstable.hg

18 years agoProvide the use of SCSI disks in HVM domains. Currently there is a
kfraser@localhost.localdomain [Wed, 11 Apr 2007 14:43:49 +0000 (15:43 +0100)]
Provide the use of SCSI disks in HVM domains.  Currently there is a
maximum of 7 scsi disks and an ide disk must still be used to boot.

Signed-off-by: Natasha Jarymowycz <natasha@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoFix pygrub for IA64 support.
kfraser@localhost.localdomain [Wed, 11 Apr 2007 14:36:04 +0000 (15:36 +0100)]
Fix pygrub for IA64 support.
Signed-off-by: Shinya Kuwamura <kuwa@jp.fujitsu.com>
Signed-off-by: Tomohiro Takahashi <takatom@jp.fujitsu.com>
18 years agopygrub: Support GPT (GUID Partition Table) as used by EFI.
kfraser@localhost.localdomain [Wed, 11 Apr 2007 14:27:14 +0000 (15:27 +0100)]
pygrub: Support GPT (GUID Partition Table) as used by EFI.
Signed-off-by: Shinya Kuwamura <kuwa@jp.fujitsu.com>
Signed-off-by: Tomohiro Takahashi <takatom@jp.fujitsu.com>
18 years agolibfsimage: Fix data types for 64-bit architectures.
kfraser@localhost.localdomain [Wed, 11 Apr 2007 14:17:17 +0000 (15:17 +0100)]
libfsimage: Fix data types for 64-bit architectures.

In particular __u32 instead of ulong.

Signed-off-by: Tomohiro Takahashi <takatom@jp.fujitsu.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoMerge
Tim Deegan [Wed, 11 Apr 2007 13:45:43 +0000 (14:45 +0100)]
Merge

18 years ago[HVM] Save/restore: merge xc_linux_save and xc_hvm_save
Tim Deegan [Wed, 11 Apr 2007 13:45:14 +0000 (14:45 +0100)]
[HVM] Save/restore: merge xc_linux_save and xc_hvm_save
into xc_domain_save, like we did for xc_domain_restore
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
--HG--
rename : tools/libxc/xc_linux_save.c => tools/libxc/xc_domain_save.c

18 years agolinux: Quieten blkfront output.
kfraser@localhost.localdomain [Wed, 11 Apr 2007 13:34:08 +0000 (14:34 +0100)]
linux: Quieten blkfront output.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoxend: Store canonical vnif config info in /vm/<uuid>/device
kfraser@localhost.localdomain [Wed, 11 Apr 2007 13:30:56 +0000 (14:30 +0100)]
xend: Store canonical vnif config info in /vm/<uuid>/device
rather than in frontend store directory. Two advantages are that the
frontend cannot mess with the config information; also an
ioemu-specific vif does nto need a frontend directory at all. This
avoids confusing netfront pv-on-hvm driver.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agomerge with xen-unstable.hg
Alex Williamson [Wed, 11 Apr 2007 13:30:02 +0000 (07:30 -0600)]
merge with xen-unstable.hg

18 years ago[IA64] Skip MCA setup on domU
Alex Williamson [Wed, 11 Apr 2007 13:28:29 +0000 (07:28 -0600)]
[IA64] Skip MCA setup on domU

This effectively automates passing the nomca flag to domUs,
preventing them from setting up CMC/CPE interrupts.  This saves
3 dynamic IRQs per processor and allows us to get domUs up to 64
vCPUs without increasing the number of dynamic IRQs available.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] Handle NAT bit for dom0 and domU
Alex Williamson [Wed, 11 Apr 2007 13:24:44 +0000 (07:24 -0600)]
[IA64] Handle NAT bit for dom0 and domU

This fixes ia32 apps running under the IA32-EL.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years agoPV-on-HVM: Fixes for module loading.
kfraser@localhost.localdomain [Wed, 11 Apr 2007 08:29:00 +0000 (09:29 +0100)]
PV-on-HVM: Fixes for module loading.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoPV-on-HVM: More save/restore fixes.
kfraser@localhost.localdomain [Wed, 11 Apr 2007 08:16:04 +0000 (09:16 +0100)]
PV-on-HVM: More save/restore fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agolinux: Fix an error path in save/restore code.
kfraser@localhost.localdomain [Tue, 10 Apr 2007 19:00:45 +0000 (20:00 +0100)]
linux: Fix an error path in save/restore code.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TAPDISK] Fix qcow initialization bug.
Jake Wires [Tue, 10 Apr 2007 18:40:43 +0000 (11:40 -0700)]
[TAPDISK] Fix qcow initialization bug.

fd_end was being incorrectly initialized upon open, leading to data corruption.

Signed-off-by: Jake Wires <jwires@xensource.com>
19 years agolinux: Fix IRQ disable/enable logic across save/restore.
kfraser@localhost.localdomain [Tue, 10 Apr 2007 17:49:20 +0000 (18:49 +0100)]
linux: Fix IRQ disable/enable logic across save/restore.
stop_machine_run() executes our callback function with interrupts
disabled.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdded docs and bindings for VM.{send_trigger,send_sysrq}.
Ewan Mellor [Tue, 10 Apr 2007 16:29:16 +0000 (17:29 +0100)]
Added docs and bindings for VM.{send_trigger,send_sysrq}.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAvoid using the multicol package.
Ewan Mellor [Tue, 10 Apr 2007 16:26:45 +0000 (17:26 +0100)]
Avoid using the multicol package.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoMake date time handling slightly more permissive
Tom Wilkie [Tue, 10 Apr 2007 16:01:40 +0000 (17:01 +0100)]
Make date time handling slightly more permissive

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>

19 years agomerge with xen-unstable.hg
Alex Williamson [Mon, 9 Apr 2007 19:40:25 +0000 (13:40 -0600)]
merge with xen-unstable.hg

19 years ago[IA64] Fix PV-on-HVM VNIF to work without using balloon on IPF
Alex Williamson [Mon, 9 Apr 2007 19:39:35 +0000 (13:39 -0600)]
[IA64] Fix PV-on-HVM VNIF to work without using balloon on IPF

Temporary patch until we support the the balloon driver on HVM domains.

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
19 years agoAdded documentation, C bindings, and a test for VM_metrics.{start_time,
Ewan Mellor [Mon, 9 Apr 2007 16:09:21 +0000 (17:09 +0100)]
Added documentation, C bindings, and a test for VM_metrics.{start_time,
VCPUs_CPU,VCPUs_params}.

Changed VM_metrics.start_time to be a DateTime, not an integer.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoMake host.sched_policy read-only. Added docs, bindings, and a test for
Ewan Mellor [Mon, 9 Apr 2007 11:20:35 +0000 (12:20 +0100)]
Make host.sched_policy read-only.  Added docs, bindings, and a test for
host.cpu_configuration and host.sched_policy.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agohvm ioemu: Avoid accessing invalid pseudophysical addresses in HVM
Keir Fraser [Mon, 9 Apr 2007 11:05:26 +0000 (12:05 +0100)]
hvm ioemu: Avoid accessing invalid pseudophysical addresses in HVM
guest's memory map.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdded bindings and documentation for host.send_debug_keys and host.get_log.
Ewan Mellor [Mon, 9 Apr 2007 10:39:27 +0000 (11:39 +0100)]
Added bindings and documentation for host.send_debug_keys and host.get_log.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoxen: Fix domctl page-type definitions to be unsigned quantities. This
Keir Fraser [Mon, 9 Apr 2007 10:12:15 +0000 (11:12 +0100)]
xen: Fix domctl page-type definitions to be unsigned quantities. This
avoids them being erroneously sign-extended to 64 bits which was
breaking 64-bit HVM save/restore.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agolibxc: Fix save/restore code for style.
Keir Fraser [Mon, 9 Apr 2007 10:11:23 +0000 (11:11 +0100)]
libxc: Fix save/restore code for style.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdd bindings and docs for the host.dmesg_clear call.
Ewan Mellor [Sun, 8 Apr 2007 22:03:16 +0000 (23:03 +0100)]
Add bindings and docs for the host.dmesg_clear call.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agolinux: Fix reboot.c after PV-on-HVM changes.
kfraser@localhost.localdomain [Tue, 10 Apr 2007 14:35:37 +0000 (15:35 +0100)]
linux: Fix reboot.c after PV-on-HVM changes.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoPV-on-HVM: Fixes for save/restore. Also gets rid of separate modules
kfraser@localhost.localdomain [Tue, 10 Apr 2007 14:31:53 +0000 (15:31 +0100)]
PV-on-HVM: Fixes for save/restore. Also gets rid of separate modules
reboot.ko and xenbus.ko. These are now part of xen-platform-pci.ko.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix PV guest restore.
kfraser@localhost.localdomain [Tue, 10 Apr 2007 12:46:28 +0000 (13:46 +0100)]
Fix PV guest restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMerge
Tim Deegan [Tue, 10 Apr 2007 09:31:42 +0000 (10:31 +0100)]
Merge

19 years agoMerge
Tim Deegan [Tue, 10 Apr 2007 09:30:48 +0000 (10:30 +0100)]
Merge

19 years agoMerge with xen-ia64-unstable.hg
kfraser@localhost.localdomain [Tue, 10 Apr 2007 09:29:05 +0000 (10:29 +0100)]
Merge with xen-ia64-unstable.hg

19 years agoxend: Destroy information about the domain in case an error occurs
kfraser@localhost.localdomain [Tue, 10 Apr 2007 09:28:11 +0000 (10:28 +0100)]
xend: Destroy information about the domain in case an error occurs
during resume of a domain.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years ago[HAP] Install P2M entries in monitor table under PAE mode
"Huang2, Wei" [Tue, 10 Apr 2007 09:26:31 +0000 (10:26 +0100)]
[HAP] Install P2M entries in monitor table under PAE mode
This patch installs P2M table entries in monitor table when Xen is
running under PAE mode. Without it, hypervisor might have trouble of
accessing guests' high memory.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
19 years agolibxc: Clarify xc_mmu interface and make it private.
kfraser@localhost.localdomain [Fri, 6 Apr 2007 21:48:25 +0000 (22:48 +0100)]
libxc: Clarify xc_mmu interface and make it private.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMerge with xen-ia64-unstable.hg.
kfraser@localhost.localdomain [Fri, 6 Apr 2007 21:32:57 +0000 (22:32 +0100)]
Merge with xen-ia64-unstable.hg.

19 years agomerge with xen-unstable.hg
Alex Williamson [Fri, 6 Apr 2007 16:08:30 +0000 (10:08 -0600)]
merge with xen-unstable.hg

19 years ago[IA64] Fix serial console IRQ on PRIMEQUEST
Alex Williamson [Fri, 6 Apr 2007 16:06:30 +0000 (10:06 -0600)]
[IA64] Fix serial console IRQ on PRIMEQUEST

Use GSI instead of IRQ number and set ns16550_com1_gsi so that
iosapic_register_intr() is called.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
19 years agolinux: Export xen_{create,destroy}_contiguous_region to modules.
Keir Fraser [Fri, 6 Apr 2007 14:09:56 +0000 (15:09 +0100)]
linux: Export xen_{create,destroy}_contiguous_region to modules.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoxen x86/64: Fix int80 direct trap. It must check for events and also
Keir Fraser [Fri, 6 Apr 2007 14:07:34 +0000 (15:07 +0100)]
xen x86/64: Fix int80 direct trap. It must check for events and also
disable interrupts before exiting to guest context.

Also sprinkle about some assertions about interrupt-enable status.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoxen: Remove unused show_xen_trace().
Keir Fraser [Fri, 6 Apr 2007 13:35:25 +0000 (14:35 +0100)]
xen: Remove unused show_xen_trace().
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoxen: Do not BUG_ON page count_info in free_domheap_pages().
Keir Fraser [Fri, 6 Apr 2007 13:34:43 +0000 (14:34 +0100)]
xen: Do not BUG_ON page count_info in free_domheap_pages().
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agox86: Do not print anything when we fail to emulate an
Keir Fraser [Fri, 6 Apr 2007 10:27:36 +0000 (11:27 +0100)]
x86: Do not print anything when we fail to emulate an
instruction. This is causing the logs to get spammed with
uninteresting cases.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoPV-on-HVM: A bit more re-jigging so the build gets further against
Keir Fraser [Fri, 6 Apr 2007 10:17:08 +0000 (11:17 +0100)]
PV-on-HVM: A bit more re-jigging so the build gets further against
native Linux 2.6.5. It's not quite there still, but closer.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agominios: Fix xenbus request-id release.
Keir Fraser [Fri, 6 Apr 2007 09:15:31 +0000 (10:15 +0100)]
minios: Fix xenbus request-id release.
From: Jacob Gorm Hansen <jacobg@diku.dk>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoia64: Fix libxenguest build after save/restore interface changes.
Keir Fraser [Fri, 6 Apr 2007 09:14:02 +0000 (10:14 +0100)]
ia64: Fix libxenguest build after save/restore interface changes.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agoxen: Make bool_t an arch-dep definition, and define macros
Keir Fraser [Fri, 6 Apr 2007 09:10:45 +0000 (10:10 +0100)]
xen: Make bool_t an arch-dep definition, and define macros
specifically for atomic test-and-modify operations on bool_t.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoSerialize string string maps.
Ewan Mellor [Thu, 5 Apr 2007 17:47:04 +0000 (18:47 +0100)]
Serialize string string maps.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years agoMerge
Tim Deegan [Thu, 5 Apr 2007 17:12:35 +0000 (18:12 +0100)]
Merge

19 years ago[HVM] Save/restore: qemu-dm should calculate bitmap size from maximum gpfn
Tim Deegan [Thu, 5 Apr 2007 17:12:21 +0000 (18:12 +0100)]
[HVM] Save/restore: qemu-dm should calculate bitmap size from maximum gpfn
like xc_save does.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoAdded copyright statement.
Ewan Mellor [Thu, 5 Apr 2007 16:26:51 +0000 (17:26 +0100)]
Added copyright statement.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoUpdate the datamodel class diagram, and use neato rather than dot, which gives
Ewan Mellor [Thu, 5 Apr 2007 16:22:22 +0000 (17:22 +0100)]
Update the datamodel class diagram, and use neato rather than dot, which gives
a much better result.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[IA64] Fix typo in xen/arch/ia64/linux-xen/perfmon.c
Alex Williamson [Thu, 5 Apr 2007 15:30:26 +0000 (09:30 -0600)]
[IA64] Fix typo in xen/arch/ia64/linux-xen/perfmon.c

Fix disunity of error messages and typo in perfmon.c.

Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
19 years ago[IA64] Fix initial value of cr.pta
Alex Williamson [Thu, 5 Apr 2007 15:26:54 +0000 (09:26 -0600)]
[IA64] Fix initial value of cr.pta

The initial value of cr.pta in a vcpu is zero. So a Reserved
Register/Field fault is raised if a guest executes the following
sequence:

    mov r2=cr.pta;;
    ...
    mov cr.pta=r2

Actually, the windows installer with vcpus>=3 crashes due to this
issue.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
19 years ago[IA64] Fix xm dump-core with vti domain
Alex Williamson [Thu, 5 Apr 2007 15:18:49 +0000 (09:18 -0600)]
[IA64] Fix xm dump-core with vti domain

Share privregs with domain and assign it to pseudo physical
address space as para virtualized domain.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
19 years ago[IA64] Auto setup serial console on PRIMEQUEST
Alex Williamson [Thu, 5 Apr 2007 15:13:16 +0000 (09:13 -0600)]
[IA64] Auto setup serial console on PRIMEQUEST

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
19 years agomerge
Ian Campbell [Thu, 5 Apr 2007 14:47:03 +0000 (15:47 +0100)]
merge

19 years agoUpdate cover text. API version 0.9.0.
Ewan Mellor [Thu, 5 Apr 2007 14:41:04 +0000 (15:41 +0100)]
Update cover text.  API version 0.9.0.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoLINUX: PVonHVM: Fixes to build with kernels back to 2.6.5.
Ian Campbell [Thu, 5 Apr 2007 14:38:09 +0000 (15:38 +0100)]
LINUX: PVonHVM: Fixes to build with kernels back to 2.6.5.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years agoMerge
Tim Deegan [Thu, 5 Apr 2007 14:11:49 +0000 (15:11 +0100)]
Merge

19 years ago[HVM] Save/restore: merge xc_linux_restore and xc_hvm_restore
Tim Deegan [Thu, 5 Apr 2007 14:11:22 +0000 (15:11 +0100)]
[HVM] Save/restore: merge xc_linux_restore and xc_hvm_restore
into one function (and one file) since they share a lot of code
Signed-off-by: Tim Deegan <Tim.Deegan@øensource.com>
--HG--
rename : tools/libxc/xc_linux_restore.c => tools/libxc/xc_domain_restore.c

19 years agoPV-on-HVM: Add new ioreq 'invalidate' for zapping ioemu-dm mapccahe
kfraser@localhost.localdomain [Thu, 5 Apr 2007 13:29:18 +0000 (14:29 +0100)]
PV-on-HVM: Add new ioreq 'invalidate' for zapping ioemu-dm mapccahe
after balloon operations in an HVM guest.

This removes the I/O port hack from the guest OS, and from ioemu.

Also we flush on reservation *increases* as well as decreases. This is
necessary until qemu-dm can demand-fault page mappings into existing
valid buckets.

Signed-off-by: Steven Hand <steven@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoUpdate hgignore list for Module.symvers
kfraser@localhost.localdomain [Thu, 5 Apr 2007 13:02:55 +0000 (14:02 +0100)]
Update hgignore list for Module.symvers

19 years agoPV-on-HVM: update build config overrides.
kfraser@localhost.localdomain [Thu, 5 Apr 2007 12:41:18 +0000 (13:41 +0100)]
PV-on-HVM: update build config overrides.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agolinux/x86-64: fix unwind information
kfraser@localhost.localdomain [Thu, 5 Apr 2007 12:40:43 +0000 (13:40 +0100)]
linux/x86-64: fix unwind information

Mostly adjusting mis-merges dating back to the 2.6.14 merge.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agoRemove task.error_code -- it's redundant, as we can use the first element of
Ewan Mellor [Thu, 5 Apr 2007 12:35:54 +0000 (13:35 +0100)]
Remove task.error_code -- it's redundant, as we can use the first element of
task.error_info instead.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoRevert 14730:07d3208c0ca3b6e746745d2bc08f7aa12ed39269.
kfraser@localhost.localdomain [Thu, 5 Apr 2007 10:58:02 +0000 (11:58 +0100)]
Revert 14730:07d3208c0ca3b6e746745d2bc08f7aa12ed39269.
Breaks the x86/64 build with (at least) gcc 3.4.4.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agolinux: simplify and perform checking of multicall status
kfraser@localhost.localdomain [Thu, 5 Apr 2007 09:43:50 +0000 (10:43 +0100)]
linux: simplify and perform checking of multicall status
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agoRemove unimplemented host.set_sched_policy.
Ewan Mellor [Wed, 4 Apr 2007 17:50:11 +0000 (18:50 +0100)]
Remove unimplemented host.set_sched_policy.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoExpose the method-listing call as host.list_methods.
Ewan Mellor [Wed, 4 Apr 2007 17:42:20 +0000 (18:42 +0100)]
Expose the method-listing call as host.list_methods.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoRemove docs and bindings for unimplemented VDI.resize and VDI.snapshot.
Ewan Mellor [Wed, 4 Apr 2007 14:00:57 +0000 (15:00 +0100)]
Remove docs and bindings for unimplemented VDI.resize and VDI.snapshot.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoSend INTERNAL_ERROR rather than ERROR_TODO if device creation fails.
Ewan Mellor [Wed, 4 Apr 2007 13:53:52 +0000 (14:53 +0100)]
Send INTERNAL_ERROR rather than ERROR_TODO if device creation fails.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoRemove docs and bindings for unimplemented SR.{create,destroy,clone}.
Ewan Mellor [Wed, 4 Apr 2007 13:49:38 +0000 (14:49 +0100)]
Remove docs and bindings for unimplemented SR.{create,destroy,clone}.
Implement PBD class, matching existing docs and bindings.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agolinux: improve x86 page table handling performance
kfraser@localhost.localdomain [Thu, 5 Apr 2007 08:10:33 +0000 (09:10 +0100)]
linux: improve x86 page table handling performance

Where possible,
- use hypercalls instead of writing to read-only pages
- fold TLB flushes into page table update hypercalls
- on PAE, use single-access updates instead of two-access ones

The single change to PAE pte_clear() yields a 25-30% boost for kernel
builds on a 4x2x2 CPUs, 8Gb box; the other changes together yield
improvements of 2-5%.

Also, adjust backward compatibility handling in a few more places.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agolinux/x86-64: fix unwind information
kfraser@localhost.localdomain [Thu, 5 Apr 2007 07:59:12 +0000 (08:59 +0100)]
linux/x86-64: fix unwind information

Mostly adjusting mis-merges dating back to the 2.6.14 merge.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agolinux: make compatibility config options more scalable
kfraser@localhost.localdomain [Thu, 5 Apr 2007 07:58:32 +0000 (08:58 +0100)]
linux: make compatibility config options more scalable
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agohvm: MMIO decoder rename local variable 'diff' to 'result'.
kfraser@localhost.localdomain [Thu, 5 Apr 2007 07:46:54 +0000 (08:46 +0100)]
hvm: MMIO decoder rename local variable 'diff' to 'result'.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agohvm: Fix EFLAGS setting in MMIO decoder/emulator.
kfraser@localhost.localdomain [Thu, 5 Apr 2007 07:44:55 +0000 (08:44 +0100)]
hvm: Fix EFLAGS setting in MMIO decoder/emulator.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>